Skip to content

Fix duplicate command python.getRecommendedEnvironment - #25947

Merged
Eleanor Boyd (eleanorjboyd) merged 3 commits into
mainfrom
fix-multiroot-duplicate-command
May 7, 2026
Merged

Fix duplicate command python.getRecommendedEnvironment#25947
Eleanor Boyd (eleanorjboyd) merged 3 commits into
mainfrom
fix-multiroot-duplicate-command

Conversation

@edvilme

@edvilme Eduardo Villalpando Mello (edvilme) commented May 5, 2026

Copy link
Copy Markdown

Adds guards when calling RecommendedEnvironmentService::activate per folder on a multiroot workspace to avoid registering the command several times.

Fixes #25949

Adds guards when calling RecommendedEnvironmentService::activate per folder on a multiroot workspace to avoid registering the command several times.
@edvilme Eduardo Villalpando Mello (edvilme) added the bug Issue identified by VS Code Team member as probable bug label May 5, 2026
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) enabled auto-merge (squash) May 7, 2026 17:54
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) merged commit d48d124 into main May 7, 2026
88 of 92 checks passed
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) deleted the fix-multiroot-duplicate-command branch May 7, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug skip-issue-check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Command 'python.getRecommendedEnvironment' already exists in multi-root workspace

2 participants